Ext.namespace('Ext.ux');

Ext.ux.ComboBox = function(config) {

	/* --------------------------- custom property ------------------------- */

	Ext.apply(this, config);

	/* --------------------------- override superclass property --------------------------- */

	Ext.ux.ComboBox.superclass.constructor.call(this, {
				triggerAction	: 'all',
				// editable : false,
				typeAhead		: true,
				selectOnFocus	: true,
				forceSelection	: true,
				mode			: 'local',
				emptyText		: '请选择 ...'
			});

	/* --------------------------- event handler --------------------------- */

};

Ext.extend(Ext.ux.ComboBox, Ext.form.ComboBox, {});

Ext.reg('ux.combobox', Ext.ux.ComboBox);